							<table class="table table-bordered table-striped">
									<thead>
											<tr class="dl-header">
												<td><i class="icon-user"></i> <strong>Name</strong></td>
												<td><i class="icon-user"></i> <strong>Email</strong></td>
												<td><i class="icon-callendar"></i> <strong>Date Joined</strong></td>
												<td><i class="icon"></i> <strong>Contact Numbers</strong></td>
												<td><i class="icon"></i> <strong>Address</strong></td>
												<td><i class="icon"></i> <strong>Controls</strong></td>
											</tr>
									</thead>
										<tbody>
											<?php if($userlist != 0){	foreach($userlist as $key=>$val) { 
														$birthday = $val['birthMonth'] .' '.$val['birthDay'] .' '. $val['birthYear']; 
														$name = $val['strFirstName'] .' '. $val['strMiddleName'] .' '. $val['strLastName']; 
														$address = $val['strAddress'] .' '. $val['strCity']; 
											?>
											
												<tr>
													<td style="width:15%"><?php echo $name; ?></td>
													<td ><?php echo $val['strEmail'];?></td>
													<td ><?php echo $val['dateCreated'];?></td>
													<td >Cell:<?php echo $val['strMobile'];?> Tell:<?php echo $val['strLandline']; ?></td>
													<td ><?php echo $val['strAddress'] .' '.$val['strCity'];?></td>
													<td><a href="#" class="btn btn-mini viewuser" data-prov="<?php echo $val['strProvince']; ?>" data-hometown="<?php echo $val['strHometown']; ?>" data-country="<?php echo $val['strCountry']; ?>"data-status="<?php echo $val['strCivilStatus']; ?>"data-email="<?php echo $val['strEmail']; ?>" data-contact="<?php echo 'Tell:'. $val['strLandline'] .' Cell:'. $val['strMobile']; ?>" data-address="<?php echo $address; ?>"data-name="<?php echo $name; ?>" data-birthday = "<?php echo $birthday; ?>"><i class="icon-eye-open"></i> <span>View</span></a></td>
												</tr>
												<?php } ?>
											<tr>
												<td colspan="6"><?php echo $pageLinks; ?></td>
											</tr>
											<?php }else{ echo '<tr><td colspan="5">no data</td></tr>'; }  ?>
										</tbody>
									</table>
